package com.ulic.customerManApplication.commonmodule.vo;

import java.util.Map;
import java.util.TreeMap;

public class ImpDataInfor {

	private Integer totalNum;//总共条数
	private Integer succeedNum;//成功条数
	private Integer failNum;//失败条数
	private Integer warnNum;//警告条数
	private String failDetail;//失败的数据
	private String failResaon;//失败原因
	private Map<Integer,String> detail =  new TreeMap<Integer,String>();
	
	
	public Map<Integer, String> getDetail() {
		return detail;
	}
	public void setDetail(Map<Integer, String> detail) {
		this.detail = detail;
	}
	public String getFailDetail() {
		return failDetail;
	}
	public void setFailDetail(String failDetail) {
		this.failDetail = failDetail;
	}
	public Integer getTotalNum() {
		return totalNum;
	}
	public void setTotalNum(Integer totalNum) {
		this.totalNum = totalNum;
	}
	public Integer getSucceedNum() {
		return succeedNum;
	}
	public void setSucceedNum(Integer succeedNum) {
		this.succeedNum = succeedNum;
	}
	public Integer getFailNum() {
		return failNum;
	}
	public void setFailNum(Integer failNum) {
		this.failNum = failNum;
	}
	public String getFailResaon() {
		return failResaon;
	}
	public void setFailResaon(String failResaon) {
		this.failResaon = failResaon;
	}
	
	public Integer getWarnNum() {
		return warnNum;
	}
	public void setWarnNum(Integer warnNum) {
		this.warnNum = warnNum;
	}
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append(this.totalNum+","+this.succeedNum+","+this.failNum);
		return sb.toString();
	}
}
